package users.tom.app;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

import users.tom.beans.Config;

public final class AppOne {

	/**
	 * Print the Spring-loaded {@code Config} object.
	 * 
	 * @param args
	 * 	not used
	 */
	public static void main(String[] args) {
		
		final ApplicationContext beans = new FileSystemXmlApplicationContext("D:/eclipse-workspaces/SpringBookClub/src/users/tom/main.spring.xml");
		final Config config = beans.getBean("config", Config.class);
		System.out.println(config);

	}

}
